package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 盘点清单
 * </p>
 *
 * @author author
 * @since 2023-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_equipment_stocktaking_list")
@Schema(description = "盘点清单")
public class EquipmentStocktakingList extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "盘点单ID")
    private Long roomStocktakingId;

    @Schema(description = "资产类别ID")
    private Long equipmentCategoryId;

    @Schema(description = "资产名称")
    private String equipmentCategoryName;
    @Schema(description = "资产Id")
    private Long equipmentId;

    @Schema(description = "门店名称")
    private String apartmentName;

    @Schema(description = "关联的房间ID")
    private Long roomId;

    @Schema(description = "公寓id")
    private Long apartmentId;
    @Schema(description = "小区名称")
    private String area;
    @Schema(description = "楼栋")
    private String buildingNo;
    @Schema(description = "单元")
    private String unitNo;
    @Schema(description = "楼层")
    private String floorNo;
    @Schema(description = "是否是公区")
    private Boolean isPub;

    @Schema(description = "集中式？")
    private Boolean isConcentrated;
    private String roomHouseName;
    @Schema(description = "资产规格")
    private String equipmentCategoryUnit;

    @Schema(description = "资产编号")
    private String equipmentCode;

    @Schema(description = "供应商ID")
    private Long supplierId;

    @Schema(description = "供应商名称")
    private String supplierName;

    @Schema(description = "供应商电话")
    private String supplierPhone;

    @Schema(description = "保修期")
    private LocalDate warrantyMonth;

    @Schema(description = "状态")
    private String status;
    /**
     * 位置类别
     */
    private String positionType;

}
